package com.bdqn.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.bdqn.model.CustomerBaseInfo;



public interface CustomMapper {

	List<CustomerBaseInfo> selectAll(@Param("agent")String agent);

	List<CustomerBaseInfo> selectLikeName(@Param("companyName")String companyName,@Param("agent")String agent);

	int searchExist(@Param("companyName")String companyName,@Param("agent")String agent);

	CustomerBaseInfo check(@Param("id")Integer id);

	int alter(CustomerBaseInfo cust);

	int changeState(@Param("id")Integer id, @Param("state")String state);


	

}
